package com.yoyo.service;

import com.yoyo.entity.Pet;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PetService {
    List<Pet> findAll(Pet pet);

    int delete(int id);

    int save(Pet pet) ;

    int bacthDel(String ids) throws Exception;

    Pet selById(@Param("id")int id);

    int updPet(Pet pet);
}
